package com.walala.logic.client;

import io.netty.bootstrap.Bootstrap;
import io.netty.channel.Channel;
import io.netty.channel.EventLoopGroup;

public class ToGatewayConnection {

	private long createTime;
	
	private EventLoopGroup group;
	
	private Bootstrap b;
	
	private Channel channel;
	
	public ToGatewayConnection(EventLoopGroup group,Bootstrap b,Channel channel) {
		this.group = group;
		this.b = b;
		this.channel = channel;
		this.createTime = System.currentTimeMillis();
	}

	public long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}

	public EventLoopGroup getGroup() {
		return group;
	}

	public void setGroup(EventLoopGroup group) {
		this.group = group;
	}

	public Bootstrap getB() {
		return b;
	}

	public void setB(Bootstrap b) {
		this.b = b;
	}

	public Channel getChannel() {
		return channel;
	}

	public void setChannel(Channel channel) {
		this.channel = channel;
	}
	
	
	
}
